﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.achievements.transactions {
    import Transactions.*;

    public class TAchievementsUpdate extends TFarmTransaction {

        protected var m_groupName:String;

        public function TAchievementsUpdate(_arg1:String){
            this.m_groupName = _arg1;
        }
        override public function perform():void{
            signedCall("AchievementsService.update", this.m_groupName);
        }
        override protected function onComplete(_arg1:Object):void{
            super.onComplete(_arg1);
            Global.achievementsManager.loadServerData(_arg1.achievements, _arg1.changes, true);
        }

    }
}//package Modules.achievements.transactions 
